package com.romadan.core.nonlinearanalys.fet.volterra.logic;

import java.util.LinkedHashMap;
import java.util.Map;

import com.romadan.utils.math.Complex;

public class NLParameters {
	private Complex gm1, gm2, gm3, gd1, gd2, gd3, gmd, Cgs1, Cgs2, Cgs3, Cgd1;
	private Map<String, Complex> elements;
	
	public NLParameters() {
		elements = new LinkedHashMap<String, Complex>();
		gm1 = Complex.ZERO;
		gm2 = Complex.ZERO;
		gm3 = Complex.ZERO;
		gd1 = Complex.ZERO;
		gd2 = Complex.ZERO;
		gd3 = Complex.ZERO;
		gmd = Complex.ZERO;
		Cgs1 = Complex.ZERO;
		Cgs2 = Complex.ZERO;
		Cgs3 = Complex.ZERO;
		Cgd1 = Complex.ZERO;
	}

	public Complex getGm1() {
		return gm1;
	}

	public void setGm1(Complex gm1) {
		this.gm1 = gm1;
	}

	public Complex getGm2() {
		return gm2;
	}

	public void setGm2(Complex gm2) {
		this.gm2 = gm2;
	}

	public Complex getGm3() {
		return gm3;
	}

	public void setGm3(Complex gm3) {
		this.gm3 = gm3;
	}

	public Complex getGd1() {
		return gd1;
	}

	public void setGd1(Complex gd1) {
		this.gd1 = gd1;
	}

	public Complex getGd2() {
		return gd2;
	}

	public void setGd2(Complex gd2) {
		this.gd2 = gd2;
	}

	public Complex getGd3() {
		return gd3;
	}

	public void setGd3(Complex gd3) {
		this.gd3 = gd3;
	}

	public Complex getGmd() {
		return gmd;
	}

	public void setGmd(Complex gmd) {
		this.gmd = gmd;
	}

	public Complex getCgs1() {
		return Cgs1;
	}

	public void setCgs1(Complex cgs1) {
		Cgs1 = cgs1;
	}

	public Complex getCgs2() {
		return Cgs2;
	}

	public void setCgs2(Complex cgs2) {
		Cgs2 = cgs2;
	}

	public Complex getCgs3() {
		return Cgs3;
	}

	public void setCgs3(Complex cgs3) {
		Cgs3 = cgs3;
	}

	public Complex getCgd1() {
		return Cgd1;
	}

	public void setCgd1(Complex cgd1) {
		Cgd1 = cgd1;
	}

	public Map<String, Complex> getElements() {
		elements.put("gm1", gm1);
		elements.put("gm2", gm2);
		elements.put("gm3", gm3);
		elements.put("gd1", gd1);
		elements.put("gd2", gd2);
		elements.put("gd3", gd3);
		elements.put("gmd", gmd);
		elements.put("Cgs1", Cgs1);
		elements.put("Cgs2", Cgs2);
		elements.put("Cgs3", Cgs3);
		elements.put("Cgd1", Cgd1);
		
		return elements;
	};
	
}
